sudo | 您所在的位置:网站首页 › dpkg frontend lock › sudo |
Open your terminal and type: ps -aux | grep -iE "apt"It will show the id of the process running apt. Kill it with: sudo kill -9You could also kill all processes using apt with: sudo killall apt apt-getIf these commands don't work, you can also remove the files using rm: sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock*NOTE: Be careful with those commands. You could possibly end up with a broken system if you are careless. Reconfigure the packages, and update: sudo dpkg --configure -a sudo apt-get update -yBest of luck! |
CopyRight 2018-2019 实验室设备网 版权所有 |